package cn.source.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * 发卡信息对象 gk_card
 * 
 * @author sourcebyte.vip
 * @date 2025-04-29
 */
public class GkCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 卡号 */
    private Long id;

    /** 卡号 */
    @Excel(name = "卡号")
    private Long cardNo;

    /** 密码 */
    @Excel(name = "密码")
    private String pwd;

    /** 状态(0未激活,1激活) */
    @Excel(name = "状态(0未激活,1激活)")
    private Long zt;
    private String ztName;

    private Long startCardNo;

    private Long endCardNo;

    public String getZtName() {
        return ztName;
    }

    public void setZtName(String ztName) {
        this.ztName = ztName;
    }

    public Long getStartCardNo() {
        return startCardNo;
    }

    public void setStartCardNo(Long startCardNo) {
        this.startCardNo = startCardNo;
    }

    public Long getEndCardNo() {
        return endCardNo;
    }

    public void setEndCardNo(Long endCardNo) {
        this.endCardNo = endCardNo;
    }

    /** 激活时间 */

    @Excel(name = "激活时间", width = 30)
    private Date activeTime;



    /** 激活会员id */
    @Excel(name = "激活会员id")
    private String activeMemberId;

    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardNo(Long cardNo) 
    {
        this.cardNo = cardNo;
    }

    public Long getCardNo() 
    {
        return cardNo;
    }
    public void setPwd(String pwd) 
    {
        this.pwd = pwd;
    }

    public String getPwd() 
    {
        return pwd;
    }
    public void setZt(Long zt) 
    {
        this.zt = zt;
    }

    public Long getZt() 
    {
        return zt;
    }
    public void setActiveTime(Date activeTime) 
    {
        this.activeTime = activeTime;
    }

    public Date getActiveTime() 
    {
        return activeTime;
    }

    public String getActiveMemberId() {
        return activeMemberId;
    }

    public void setActiveMemberId(String activeMemberId) {
        this.activeMemberId = activeMemberId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardNo", getCardNo())
            .append("pwd", getPwd())
            .append("zt", getZt())
            .append("activeTime", getActiveTime())
            .append("activeMemberId", getActiveMemberId())
            .toString();
    }
}
